package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;

import java.util.List;

public interface MenuService {

    List<Menu> findMenuListByUsername(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    void add(Menu menu);

    void delete(Integer id);

    Menu findById(Integer id);

    void updateMenu(Menu menu);

    List<Menu> findAll();
}
